package com.ruoyi.commodity.mapper;

import com.ruoyi.commodity.domain.Commodity;
import java.util.List;

public interface CommodityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Commodity record);

    Commodity selectByPrimaryKey(Long id);

    List<Commodity> selectAll();

    int updateByPrimaryKey(Commodity record);

    List<Commodity> selectCommodityList(Commodity post);
}